package com.smart4j.framework.proxy;

/**
 * description: 定义一个User类 实现抢票接口，执行抢票操作
 * @version v1.0
 * @author w
 * @date 2018年9月3日下午9:52:38
 */
public class User implements Tickets{
	private String name;
	public User(String name) {
		this.name = name;
	}
	@Override
	public void buyTickets() {
		System.out.println(name + " 开始抢票啦~ ");
	}
	public User() {
		System.out.println("run ");
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
}
